package com.greenhouse.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.greenhouse.common.annotation.Excel;
import com.greenhouse.common.core.domain.BaseEntity;

/**
 * 设备_分组对象 biz_device_group
 * 
 * @author greenhouse
 * @date 2021-05-06
 */
public class BizDeviceGroup extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 分组ID */
	private Long id;

	/** 设备ID */
	@Excel(name = "设备ID")
	private Long deviceId;

	/** 分组ID */
	@Excel(name = "分组ID")
	private Long groupId;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setDeviceId(Long deviceId) {
		this.deviceId = deviceId;
	}

	public Long getDeviceId() {
		return deviceId;
	}

	public void setGroupId(Long groupId) {
		this.groupId = groupId;
	}

	public Long getGroupId() {
		return groupId;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId())
				.append("deviceId", getDeviceId()).append("groupId", getGroupId()).toString();
	}
}
